package common;

import java.io.Serializable;

public class RequestMsg implements Serializable{

	private static final long serialVersionUID = 1L;
	
	private int msgId;
	private int dataId;
	private int newValue;
	
	public RequestMsg(int msgId, int dataId, int newValue){
		this.setMsgId(msgId);
		this.setDataId(dataId);
		this.setNewValue(newValue);
	}

	public long getMsgId() {
		return msgId;
	}

	public void setMsgId(int msgId) {
		this.msgId = msgId;
	}

	public int getDataId() {
		return dataId;
	}

	public void setDataId(int dataId) {
		this.dataId = dataId;
	}

	public int getNewValue() {
		return newValue;
	}

	public void setNewValue(int newValue) {
		this.newValue = newValue;
	}
}
